home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / compuserve-file-archive / 09 Application Software / LETTER.DOC < prev    next >
Text File  |  2019-04-13  |  12KB  |  233 lines

  1.      HOW TO USE LETTER.IMG
  2.  
  3.      First, rename the program LETTERS, as all future reference will be to
  4.      that name.
  5.  
  6.                         QUICK REFERENCE GUIDE TO LETTERS
  7.  
  8.      TEXT SCREEN
  9.  
  10.      f1 ---------- insert line
  11.      f2 ---------- delete line
  12.      f3 ---------- change margin color
  13.      f4 ---------- default margin color
  14.      f5 ---------- tab
  15.      f6 ---------- set or release tab
  16.      f7 ---------- go to menu
  17.      f8 ---------- restore text
  18.      CTRL and 9 -- underlining on
  19.      CTRL and 0 -- underlining off
  20.      clr --------- screen clear/store text
  21.      home -------- home
  22.      del --------- delete character
  23.      inst -------- insert character
  24.      return ------ move to left margin on the next line down
  25.      crsr up ----- cursor up 2 screen lines
  26.      crsr down --- cursor down 2 screen lines
  27.      crsr left --- cursor left 1 character
  28.      crsr right -- cursor right 1 character
  29.  
  30.      MENU SCREEN
  31.  
  32.      f1 ---------- change border color
  33.      f2 ---------- default border color
  34.      f3 ---------- change  background color
  35.      f4 ---------- default background color
  36.      f5 ---------- change character color
  37.      f6 ---------- default character color
  38.  
  39.      DETAILS, DETAILS, DETAILS....
  40.  
  41.      LETTERS is not a full-blown word processor, but has many of the
  42.      features you will find in one. I wrote it because I got pretty
  43.      frustrated with the imbedded commands in the commercial software, and
  44.      wanted something easy to use, fast and versatile. For me, it has been
  45.      the best compromise between text manipulation power and ease of use.
  46.      All of the critical parts of this program are performed by machine
  47.      language routines for speed and convenience, including printing, text
  48.      creating and editing, loading and saving (disk storage only, no tape).
  49.      Load and run the program as you would any other basic program. There
  50.      is about 2K of machine language that will be transferred to $C000 and
  51.      up when you run the program, and during certain buffer operations all
  52.      of $C000 to $CFFF will be used. For this reason you should not use
  53.      the DOS WEDGE with this program, as it will be overwritten.
  54.  
  55.      GETTING STARTED
  56.  
  57.      Select "C" from the main menu and answer the next 2 prompts with "N".
  58.      You will now be in the CREATE/EDIT mode. You can go back to the menu
  59.      with F7 whenever you want to, but let's forge ahead for now. You'll
  60.      see reddish bars at the left and right margins. These are the margin
  61.      markers, and you will not be able to type into them. Moving the cursor
  62.      past these markers will cause the cursor to move to the margin on the
  63.      opposite side of the screen (the next line or the previous one).
  64.  
  65.      These markers will aid you in identifying line beginnings and ends,
  66.      centering titles, etc. Notice that the left markers are on different
  67.      screen lines than the right markers. This is because you are now
  68.      dealing with an 80 column line (the screen lines are only 40). Since
  69.      your printer deals with 80 column lines, the screen will now follow
  70.      that format. You will notice that you can wrap a word around the end
  71.      of a screen line as long as there is no marker there. That's because
  72.      you will be typing the word in the middle of an 80 column line (as
  73.      the printer will see it).
  74.  
  75.      AUTOMATIC PARSING
  76.  
  77.      As you are typing a line and approach the end marker, you need not
  78.      worry about breaking a word up at the marker. If the last letter on
  79.      the line is not a blank space, LETTERS will move the entire word to
  80.      the next line for you. This function is called "parsing" and was
  81.      added so that you don't have to watch the screen as you type a new
  82.      line. Parsing will not happen, however, if there is text on the next
  83.      line (this is an aid for editing. Keeps you from dumping a word onto
  84.      text residing on the following line when you are editing). Also,
  85.      parsing will only move words less than 10 characters in length.
  86.  
  87.      CURSOR UP, DOWN, LEFT AND RIGHT
  88.  
  89.      Cursor up/down work as they normally do, except that they move the
  90.      cursor 2 screen lines at a time (remember, that's only one 80-column
  91.      line). Moving the cursor past the top or bottom of the screen will
  92.      cause the document to be scrolled, which is how you move through the
  93.      document to read or edit it. Cursor left/right work normally.
  94.  
  95.      INSERT AND DELETE KEYS
  96.  
  97.      Use the normal inst/del keys to edit single lines or characters. The
  98.      delete key will work as expected, but when it reaches the left marker
  99.      it will stop. The insert key also works as expected, but when a
  100.      character is pushed into the right marker, it is deleted. This was
  101.      done to prevent you from affecting other lines by making minor
  102.      changes on one. If you wish to insert or delete entire lines at a
  103.      time, use F1 and F2. F1 will push all text from the cursor line down
  104.      one line, and place a blank line at the cursor line. F2 will delete
  105.      the cursor line and move all text beyond that position back one line.
  106.  
  107.      RETURN AND TAB KEYS
  108.  
  109.      The return key will move the cursor to the beginning of the next
  110.      line. The tab key is F5. F6 sets or releases a tab. To set a tab,
  111.      move the cursor to where you want the tab to be and press F6. To
  112.      release a tab, tab to the tab you wish to release and press F6. To
  113.      tab, press F5. The cursor will move to the first tab to the right of
  114.      the cursor. If there is no tab set to the right of the cursor, it will
  115.      perform a return.
  116.  
  117.      UNDERLINING OR SPECIAL COMMANDS
  118.  
  119.      To underline, press CTRL 9 (rvs on). Underlining off is CTRL 0. The
  120.      printing routine in LETTERS will respond to reverse video characters
  121.      by sending an escape sequence to the printer before printing the
  122.      character. After printing the character, it sends another escape
  123.      sequence. I use this feature to enable and disable the underlining
  124.      feature of my printer. If your printer does not underline, you can
  125.      substitute another escape sequence for this feature (italics, shadow
  126.      print, super/subscript, etc.). See program modifications for details.
  127.  
  128.      MOVING TEXT AND THE CLR/HOME KEYS
  129.  
  130.      The home key works normally. The screen clear key writes the text on
  131.      the screen into a buffer and clears the screen. You can use this
  132.      feature to move from 1 to 12 lines of text at a time, because the
  133.      buffer can be recovered with F8. (If you wish to permanently delete a
  134.      line or lines, use F2 instead of clr). There are 2 safety features
  135.      built into these keys. First, the clr key will work only if the
  136.      buffer is empty. This will prevent you from accidentally writing over
  137.      the contents of the buffer (the buffer is emptied when you use F8 to
  138.      restore the text). The entire screen is affected with these keys, so
  139.      here's how to manipulate less than 12 lines at a time:
  140.  
  141.      1.
  142.      Scroll the first line to be buffered to the top of the screen and
  143.      place the cursor on the line AFTER the last line to be buffered.
  144.      Press F1 as many times as necessary to push the unwanted lines off
  145.      the screen. Then press clr to buffer the screen. Delete the blank
  146.      lines (unless you want them) with F2.
  147.      2.
  148.      Scroll to where you want the text inserted. Scroll the line that will
  149.      be BELOW your inserted text to the top of the screen and home the
  150.      cursor. Push all text off the screen with F1. Now restore your
  151.      buffered text with F8 and delete any unwanted blank lines by moving
  152.      the cursor to them and pressing F2.
  153.  
  154.      MARGIN MARKER COLOR
  155.  
  156.      F3 changes the color of the margin marker bars. F4 sets the default
  157.      color.
  158.  
  159.      THE MAIN MENU
  160.  
  161.      The main menu is self-prompting and self-explanitory except for the
  162.      screen color options. The "F" keys will have different functions now,
  163.      as outlined in the beginning of this document.
  164.  
  165.      STOPPING OR EXITING THE PROGRAM
  166.  
  167.      The program can be stopped from the main menu with the run/stop key.
  168.      It can be resumed by re-running the program. Any document in memory
  169.      will NOT be lost by doing this, as LETTERS will not clear the memory
  170.      unless it's being run for the first time. When run, LETTERS changes
  171.      some of the default computer settings, such as the top of basic
  172.      memory, all keys repeat, etc. When you want to exit the program and
  173.      reset the computer to default conditions, select "E" from the main
  174.      menu and the computer will be sent to it's cold start routine. Even
  175.      if you exit in this manner, if you should discover you left a
  176.      document in memory by accident (you forgot to save it to disk), you
  177.      can still recover it by reloading and running LETTERS again. You're
  178.      out of luck, though, if you shut off the the computer or load in
  179.      another program that overwrites document storage ($4000 to $9FFF) or
  180.      LETTERS machine language subroutines ($C000 to $CFFF).
  181.  
  182.      PROGRAM MODIFICATIONS
  183.  
  184.      You can modify the basic part of LETTERS. Those with printers that do
  185.      not emulate CBM printers will need to do this. This program works fine
  186.      with the VIC printers and the PROWRITER with a +G CARDCO interface. If
  187.      you have different escape codes for underlining or bolface, you will
  188.      want to change the codes on lines 1210 and up. Don't forget to allow
  189.      for ascii conversion when you change the codes.
  190.  
  191.      FORM LETTERS
  192.  
  193.      You can create a form letter, save it to disk and load it back in to
  194.      edit it. After all, a form letter is just a document that you edit
  195.      and resave (usually under a different name).
  196.  
  197.      DOCUMENTS OVER 5 PAGES IN LENGTH
  198.  
  199.      Once you type in 5 pages of text (plus 7 lines) you're out of memory
  200.      and must either stop and print the document or save it to disk. You
  201.      can then continue your document by using "C" for create and writing
  202.      the next part. Save the next part with a different name (such as
  203.      DOCUMENT#2). When you go to print your multiple file document, the
  204.      printing routine will be able to accomodate you (if you answer the
  205.      prompts correctly). Print the first file, then load the second and
  206.      print it, etc. You are only limited by the number of disks you have
  207.      to store text on.
  208.  
  209.      ABOUT THE FILES
  210.  
  211.      LETTERS stores it's files in CBM screen codes. The first 48 bytes in
  212.      the file contain the variables used to format the text, and the rest
  213.      of the file is text, including spaces. The file is sequential.
  214.  
  215.      CONVERTING THE FILES FOR CIS
  216.  
  217.      You can use the file conversion program (also on this XA) to create
  218.      another file from a LETTERS file. I use LETTERS to create EMAIL,
  219.      bulletin board messages or documentation files such as this. Then I
  220.      run The conversion program (FILCON.IMG) to convert the file to a
  221.      standard ASCII file or a CBM PETASCII file (you have a choice).
  222.      FILCON.IMG discards the 48 variable bytes, performs the coversion and
  223.      deletes spaces at the end of the lines. It also adds a CR and LF to
  224.      the end of each line for ASCII, or a CR only if PETASCII. Then I can
  225.      load the new file into my VIDTEX buffer and send the entire message
  226.      at once with META V (ASCII). PETASCII files I use for uploading
  227.      documentation. The original LETTERS file is not changed, FILCON.IMG
  228.      just creates a modified duplicate file, naming it whatever you choose.
  229.  
  230.      I'll be glad to respond to any questions or comments via EMAIL.
  231.  
  232.      Thank you,  Jim Klitzing
  233.